<style type="text/css">@import url('<?=$this->panelpath;?>/template/styles.css');</style>
<div id="cmsPanel">
	<a class="tab<?=$this->paneltab[1]?>" href="?setview=view">Просмотр</a>
	<a class="tab<?=$this->paneltab[2]?>" href="?setview=edit">Редактирование</a>
	<a class="tab<?=$this->paneltab[3]?>" href="<?=$this->rootDir;?>/admin">Управление</a>
	<?if ($this->paneleditbuttons):?>
		<a class="panelbutton addpage" href="javascript:addpage();">добавить<br>страницу</a>
		<a class="panelbutton editpage" href="javascript:editpage();">редактировать<br>свойства</a>
	<?endif;?>
	<a class="logout" href="<?=$this->rootDir;?>/admin/logout.php"></a>
</div>